transform
Applies a transformation to the endpoints of this segment.
Return
A segment with transformed endpoints.
Parameters
transformer
The transformer to apply to the segment endpoints.
Applies a transformation to the endpoints of this segment.
A segment with transformed endpoints.
The transformer to apply to the segment endpoints.